package com.bw.controller;

import com.bw.domin.Article;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@RestController
@RequestMapping("/article")
public class ArticleController {

    @PostMapping("/addArticle")
    public void addArticle(Article article){

    }

    @GetMapping("/getDraft")
    public List<Article> getDraft(){
        return null;
    }

    @GetMapping("/articleDetails/{articleId}")
    public List<Article> articleDetails(@PathVariable Long articleId){
        return null;
    }
}
